import 'package:json_annotation/json_annotation.dart';

part 'xindong_income_class.g.dart';

@JsonSerializable()
class XinDongIncomeClass {
  late int id;
  late int types; // 0收入 1支出
  dynamic content;
  dynamic money; // 收入+元，指出-元
  dynamic time;
  dynamic shouxufei;

  XinDongIncomeClass();

  factory XinDongIncomeClass.fromJson(Map<String, dynamic> json) => _$XinDongIncomeClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongIncomeClassToJson(this);
}
